package com.gxuwz.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import com.gxuwz.dao.impl.BaseDaoImpl;
import com.gxuwz.dao.impl.LogDaoImpl;
import com.gxuwz.entity.SysLog;
import com.gxuwz.service.ILogService;

@Service("logService")
public class LogServiceImpl extends BaseServiceImpl<SysLog> implements ILogService{

	@SuppressWarnings("unused")
	private LogDaoImpl logDao;
	
	@Override
    @Autowired(required = true)
    @Qualifier("logDao")
	public void setBaseDao(BaseDaoImpl<SysLog> baseDao) {
        this.baseDao = baseDao;
        this.logDao = (LogDaoImpl) baseDao;		
	}

}
